package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.UserActivetraceDao;
import io.wdb.modules.generator.generator.entity.UserActivetraceEntity;
import io.wdb.modules.generator.generator.service.UserActivetraceService;



@Service("userActivetraceService")
public class UserActivetraceServiceImpl implements UserActivetraceService {
	@Autowired
	private UserActivetraceDao userActivetraceDao;
	
	@Override
	public UserActivetraceEntity queryObject(Long id){
		return userActivetraceDao.queryObject(id);
	}
	
	@Override
	public List<UserActivetraceEntity> queryList(Map<String, Object> map){
		return userActivetraceDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userActivetraceDao.queryTotal(map);
	}
	
	@Override
	public void save(UserActivetraceEntity userActivetrace){
		userActivetraceDao.save(userActivetrace);
	}
	
	@Override
	public void update(UserActivetraceEntity userActivetrace){
		userActivetraceDao.update(userActivetrace);
	}
	
	@Override
	public void delete(Long id){
		userActivetraceDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		userActivetraceDao.deleteBatch(ids);
	}
	
}
